package com.wnxy.admin.service;

import com.wnxy.admin.dto.MaintenanceTaskDto;
import com.wnxy.admin.dto.PageResult;
import com.wnxy.admin.entity.MaintenanceTasks;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wnxy.admin.vo.TaskVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author All
 * @since 2023-11-29
 */
public interface IMaintenanceTasksService extends IService<MaintenanceTasks> {

    PageResult queryAlarmTask(MaintenanceTaskDto maintenanceTaskDto);

    void editMaintenanceTask(MaintenanceTasks maintenanceTasks);

    void removeBatchMaintenanceTask(List<Long> maintenanceTaskIds);

    void processingTasks(MaintenanceTasks maintenanceTasks);

    void ReturnTask(MaintenanceTasks maintenanceTasks);

    TaskVo viewTask(MaintenanceTasks maintenanceTasks);
}
